#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
import random


def checkcode():
    get_num = [random.choice([chr(random.randint(65, 90)), chr(random.randint(97, 122)),
                              random.randint(0, 9)]) for num in range(6)]
    return "".join(str(i) for i in get_num)


print(checkcode())
